package com.jd.org.mapper;

import com.jd.basic.mapper.BaseMapper;
import com.jd.org.domain.Department;
import com.jd.org.query.DepartmentQuery;

import java.util.List;

public interface DepartmentMapper extends BaseMapper<Department> {

        //1.继承基础的接口方法
        //2.扩展额外的方法
        /**
         * 查询部门数 => 新增和修改时回显部门
         * @return
         */
        List<Department> deptTree();
    }
